import request from '@/utils/request'

// 查询点火延迟列表
export function listIgnite(query) {
  return request({
    url: 'service-ry/output/ignite/list',
    method: 'get',
    params: query
  })
}

// 查询点火延迟详细
export function getIgnite(id) {
  return request({
    url: 'service-ry/output/ignite/' + id,
    method: 'get'
  })
}

// 新增点火延迟
export function addIgnite(data) {
  return request({
    url: 'service-ry/output/ignite',
    method: 'post',
    data: data
  })
}

// 修改点火延迟
export function updateIgnite(data) {
  return request({
    url: 'service-ry/output/ignite',
    method: 'put',
    data: data
  })
}

// 删除点火延迟
export function delIgnite(id) {
  return request({
    url: 'service-ry/output/ignite/' + id,
    method: 'delete'
  })
}

// 导出点火延迟
export function exportIgnite(query) {
  return request({
    url: 'service-ry/output/ignite/export',
    method: 'get',
    params: query
  })
}